package struts.form;

import java.util.HashMap;
import java.util.Map;

/**
 * 存放javaBean，以map的形式；（就是将xml文件解析后的bean存放在此处）
 * @author Administrator
 *
 */
public class XmlBean {
	public XmlBean(){
		
	}
	private String beanName = "" ;
	private String path = "";
	private String actionType = "";
	private String actionclass = "";
	private String formClass = "";
	private Map<String,String> actionForward = new HashMap<String, String>();
	public String getBeanName() {
		return beanName;
	}
	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getActionType() {
		return actionType;
	}
	public void setActionType(String actionType) {
		this.actionType = actionType;
	}
	public String getActionclass() {
		return actionclass;
	}
	public void setActionclass(String actionclass) {
		this.actionclass = actionclass;
	}
	public String getFormClass() {
		return formClass;
	}
	public void setFormClass(String formClass) {
		this.formClass = formClass;
	}
	public Map<String, String> getActionForward() {
		return actionForward;
	}
	public void setActionForward(Map<String, String> actionForward) {
		this.actionForward = actionForward;
	}
	
	//重写toString方法
	public String toString(){
		return this.path+"=="+this.beanName+"=="+this.actionForward;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	

}
